package com.zhihuichongcheng.application.util;

/**
 * Created by 3water on 2016/11/18.
 */

public class PermissionUtil {
//    public static void hasPermissionInManifest(Activity activity, String permissionName) {
//        PackageManager pm = activity.getPackageManager();
//        boolean permissionCamera = (PackageManager.PERMISSION_GRANTED ==
//                pm.checkPermission(permissionName, "com.threeWater"));
//        if(!permissionCamera)
//        {
//            ActivityCompat.requestPermissions(activity,
//                    new String[]{permissionName},
//                    0);
//        }
//
//    }
}
